

export const increment = (payload) => {
    return dispatch=>{
        dispatch({
            type:'increment2',
            payload
        });
    };
};
export const decrement = () => {
    return dispatch => dispatch({
      type:'decrement2',
  })
   
};